<%@ page language="java" contentType="text/html;charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html xmlns:ec="http://www.gensee.com/ec">
<head>
<meta charset="utf-8" />
<title>easy cast</title>
<script type="text/javascript" src="${staticFullPrefix }/static/easycast/sdk/js/ec.js"></script>
<link href="${staticFullPrefix }/static/easycast/sdk/css/bootstrap.css" type="text/css" rel="stylesheet">
<style type="text/css">
.room{margin-bottom:20px;}
.videoDiv{height:400px;}
.docDiv{height:198px;padding:1px;}
.qaDiv{height:198px;padding:1px;}
.ec_rollcall1{position: absolute;left: 400px;top: 300px;background-color: white;z-index:99999;}
.ec_rollcall2{position: absolute;left: 400px;top: 850px;background-color: white;z-index:99999;}
</style>
</head>
<body>
<h2 align="center">简易直播- Multiple Room Sample</h2>
<div class="container room">
<h3>房间1</h3>
	<div class="row-fluid" style="padding:5px;">
		<input class="btn" type="button" value="发布一条问答" onclick="GsEc._inner_.command('qamsg','发布一条问答','group1')">
		<input class="btn" type="button" value="发起点名" onclick="GsEc._inner_.command('rollcall',null,'group1')">
	</div>
	<div class="row-fluid">
		<div class="span6 videoDiv">
			<ec:vd roomid="${room1Id}" uid="${uId}" uname="用户1" authcode="${webAuthCode1 }" group="group1"></ec:vd>
		</div>
		<div class="span6">
			<div class="docDiv"><ec:doc roomid="${room1Id}" uid="${uId}" uname="用户1" authcode="${webAuthCode1 }" group="group1"></ec:doc></div>
			<div class="qaDiv"><ec:qa roomid="${room1Id}" uid="${uId}" uname="用户1" authcode="${webAuthCode1 }" group="group1"></ec:qa></div>
		</div>
		<div><ec:rollcall roomid="${room1Id}" uid="${uId}" uname="用户1" authcode="${webAuthCode1 }" group="group1" class="ec_rollcall1"></ec:rollcall></div>
	</div>
</div>
<br/>
<hr>
<div class="container room">
<h3>房间2</h3>
	<div class="row-fluid" style="padding:5px;">
		<input class="btn" type="button" value="发布一条问答" onclick="GsEc._inner_.command('qamsg','发布一条问答', 'group2')">
		<input class="btn" type="button" value="发起点名" onclick="GsEc._inner_.command('rollcall',null,'group2')">
	</div>
	<div class="row-fluid">
		<div class="span6 videoDiv">
			<ec:vd roomid="${room2Id}" uid="${uId}" uname="用户2" authcode="${webAuthCode2 }" group="group2"></ec:vd>
		</div>
		<div class="span6">
			<div class="docDiv"><ec:doc roomid="${room2Id}" uid="${uId}" uname="用户2" authcode="${webAuthCode2 }" group="group2"></ec:doc></div>
			<div class="qaDiv"><ec:qa roomid="${room2Id}" uid="${uId}" uname="用户2" authcode="${webAuthCode2 }" group="group2"></ec:qa></div>
		</div>
		<div><ec:rollcall roomid="${room2Id}" uid="${uId}" uname="用户2" authcode="${webAuthCode2 }"  group="group2" class="ec_rollcall2"></ec:rollcall></div>
	</div>
</div><br>
</body>
</html>

<!-- http://192.168.0.172/ec/site/live/sample/multiroom/bieIfm-iqquUv?authcode=911050-269705 -->


